// 9 付费管理 4
export default {
  path: '/paymanage',
  name: 'paymanage',
  icon: 'red-envelope',
  authority: ['ns:antd:pay'],
  routes: [
    {
      path: '/paymanage/oncepayns',
      name: 'oncepayns',
      authority: ['ns:pay:once'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/paymanage/oncepayns',
          redirect: '/paymanage/oncepayns/index',
        },
        {
          path: '/paymanage/oncepayns/index',
          component: './PayManage/OncePayNs/Index',
        },
        {
          path: '/paymanage/oncepayns/detail',
          name: 'detail',
          component: './PayManage/OncePayNs/Detail',
        },
      ],
    },
    {
      path: '/paymanage/paybill',
      name: 'paybill',
      authority: ['ns:pay:paybill'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/paymanage/paybill',
          redirect: '/paymanage/paybill/index',
        },
        {
          path: '/paymanage/paybill/index',
          component: './PayManage/PayBill/Index',
        },
        {
          path: '/paymanage/paybill/detail',
          component: './PayManage/PayBill/Detail',
        },
      ],
    },
  ],
};
